package io.aircraft.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.aircraft.common.entity.WmsBaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 出库明细
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-11-16
 */
@Data
@TableName("wms_order_detail")
public class OrderDetailEntity extends WmsBaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
	private Long detailId;
    /**
     * 主单id
     */
	private Long orderId;
    /**
     * 商品编号
     */
	private String spuNo;
    private String lotNo;
    private String contNo;
    /**
     * 计划量
     */
	private BigDecimal planQnty;
    /**
     * 配货量
     */
	private BigDecimal bindQnty;
    /**
     * 实发量
     */
	private BigDecimal actlQnty;
    /**
     * 单据状态(0-初始 1-收货中 2-收货完成 9-单据撤销)
     */
	private Integer detailSt;
    /**
     * 备注
     */
	private String comments;
}